package com.mc.lp.database.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "DB_PROPERTY")
public class DBPropertyEntity extends MicroCampusBaseEntity{
		private static final long serialVersionUID = 1L;
		@Column(name = "PROPERTY_VALUE", nullable = false, unique = true)
		String propertyValue;

		@Column(name = "PROPERTY_NAME", nullable = false)
		String propertyName;

		@Column(name = "ENV")
		String env;

		@Column(name = "MODULE_NAME")
		String moduleName;
		
		@Column(name = "DETAIL")
		String detail;
		
		@Override
		public String toString() {
			return "[Property="+this.propertyName+" value="+this.propertyValue+", module="+this.moduleName+", env="+this.env+"]";
		}

		public String getPropertyValue() {
			return propertyValue;
		}

		public void setPropertyValue(String propertyValue) {
			this.propertyValue = propertyValue;
		}

		public String getPropertyName() {
			return propertyName;
		}

		public void setPropertyName(String propertyName) {
			this.propertyName = propertyName;
		}

		public String getEnv() {
			return env;
		}

		public void setEnv(String env) {
			this.env = env;
		}

		public String getModuleName() {
			return moduleName;
		}

		public void setModuleName(String moduleName) {
			this.moduleName = moduleName;
		}

		public String getDetail() {
			return detail;
		}

		public void setDetail(String detail) {
			this.detail = detail;
		}

		public static long getSerialversionuid() {
			return serialVersionUID;
		}
}
